package com.masterclient.app.modules.timelimited.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.timelimited.model.TimeProductsBeanData;

public class TimeLimitedProductsContract {

    public interface View extends BaseView{
        void showData(TimeProductsBeanData data);
        void loadFail(String s);
        void loadError(String s);

        void setSaleRemainSuccess();
        void setSaleRemainFail(String s);
    }

    abstract static class Presenter extends BasePresenter<View> {
        public abstract void getProducts(String location,String  status,String page,String sh_event_map_id);
        public abstract void setSaleRemain(String event_map_id,String product_id,String type);

        @Override
        public void onStart() {

        }
    }



}
